﻿using System;

namespace SqueezeboxLib
{
    /// <summary>
    /// Provides date for the <b>PowerStateChanged</b> event 
    /// used by the <b>SqueezeboxPlayer</b> class.
    /// </summary>
    public class PowerStateChangedEventArgs : EventArgs
    {
        /// <summary>
        /// Gets the new power state
        /// </summary>
        public PowerState PowerState { get; private set; }

        /// <summary>
        /// Creates a new instance of the <b>PowerStateChangedEventArgs</b> class.
        /// </summary>
        /// <param name="powerState">the new power state</param>
        public PowerStateChangedEventArgs(PowerState powerState)
        {
            PowerState = powerState;
        }
    }
}
